package com.easylinkin.linkappapi.childinspection.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.util.Date;

/**
 * @author linWenLe
 * @Date: 2024/4/03
 * @Description:    二维码实体
 */
@Data
@TableName("child_inspection_qr_code")
public class InspectionQrCodeEntity extends Model<InspectionQrCodeEntity> {

    private String id;

    /**
     * 二维码编码
     */
    private String code;

    /**
     * 二维码编码
     */
    private String imageUrl;

    /**
     * 巡检点id
     */
    private String inspectionPointId;

    /**
     * 巡检点名称
     */
    private String inspectionPointName;

    /**
     * 状态 0:空闲， 1:在用，2:异常 ,3:作废
     */
    private Integer status = 0;

    /**
     * 使用次数
     */
    @TableField(exist = false)
    private Integer count;

    private Date createTime;

    private Date modifyTime;

    private String tenantId;

    private String creator;

    private String modifier;
}
